package com.test.zk;


import lombok.extern.slf4j.Slf4j;
import org.apache.zookeeper.AsyncCallback;

/**
 * Created by xingfeng on 19-3-7.
 */
@Slf4j
public class CreateCallback implements AsyncCallback.StringCallback {

    public void processResult(int rc, String path, Object ctx, String name) {
        log.warn("创建节点："+path+","+(String)ctx);
    }
}
